package com.cykj.service;

import com.cykj.dto.ResponseDto;
import com.cykj.vo.AdminVO;
import com.cykj.vo.QueryAdminRoleOrConsultantVo;
import org.apache.ibatis.annotations.Param;

public interface AdminService {
    //登录
    ResponseDto login(@Param("acc") String acc, @Param("pwd") String pwd, @Param("code") String code);
    //获取后台用户所有数据
    ResponseDto getAll(Integer pageSize, Integer pageNum);

    //获取管理员包括咨询师所有数据
    ResponseDto getAdminOrConsultant(QueryAdminRoleOrConsultantVo vo);
    //修改管理员状态
    ResponseDto updateAdminStatus(Integer id, Integer status);
    //重置密码
    ResponseDto resetAdminPassword(Integer id, String newPassword);
    //软删除
    ResponseDto updateAdminDelete(Integer id);

    //增加管理员或咨询师
    ResponseDto addAdminOrConsultant(QueryAdminRoleOrConsultantVo vo);
}
